package com.edu.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.edu.common.annotation.Excel;
import com.edu.common.core.domain.BaseEntity;

/**
 * 届对象 t_cohort
 *
 * @author xxxx
 * @date 2023-12-28
 */

@Data
public class TCohort extends BaseEntity {

    /**
     * 毕业年份
     */
    @Excel(name = "毕业年份")
    private String graduationYear;

    @Excel(name = "在校时间")
    private String yearRange;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("graduationYear", getGraduationYear())
                .append("yearRange", getYearRange())
                .toString();
    }
}
